<?php

print_r($_POST);
echo "<hr>";
print_r($_FILES);
$path = $_FILES['img']['tmp_name'];
move_uploaded_file($path,"./uploaded/".$_FILES['img']['name']);
?>